package com.maxmlr.net.rpc;

/**
 * @ClassName TpcClientDemo
 * @Description TODO
 * @Author maxiao
 * @Date 2020/4/4 下午9:32
 * @Version V1.0
 */
public class TpcClientDemo {

    public static void main(String[] args) {
        TpcClientProxy tpcClientProxy = new TpcClientProxy();
        TestService testService = tpcClientProxy.clientProxy(TestService.class,
                "localhost", 10000);
        System.out.println("test--start");
        String test = testService.test("111", 222);
        System.out.println(test);

    }
}
